package proxydemo.enums;

import proxydemo.service.AInterface;
import proxydemo.service.impl.AInterfaceImpl;

/**
 * description 枚举
 *
 * @author Llx
 * @version v1.0.0
 * @since 2018/9/27
 */
public enum TestEnum {

    /**
     * A：是TestEnum.valueOf("A")的key
     */
    A(AInterfaceImpl.class,"call", "A的callA方法");

    public final Class<? extends AInterface> servicePrx;
    public final  String methodName;
    public final  String desc;

    TestEnum(Class<? extends AInterface> iceServicePrx, String methodName, String desc) {
        this.servicePrx = iceServicePrx;
        this.methodName=methodName;
        this.desc = desc;
    }
}
